home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib6 / v_08_11 / 8n11088d < prev    next >
Text File  |  1995-11-01  |  230b  |  16 lines

  1.  
  2.     class It {
  3.     public:
  4.         It( List &l)    { current = l;}
  5.         Truth isend()    { return current.isempty(); }
  6.         T get()
  7.         { 
  8.             T r = current.get();
  9.             current = current.tail();
  10.             return r;
  11.         }
  12.     private:
  13.         List current;
  14.     };
  15.  
  16.